package cn.lxh.user.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName WxPublicTemplat
 * @Description TODO
 * @Author luoxiaohu
 * @Date 2023/7/19 14:40
 * @Vsersion 1.0
 **/
@Data
@TableName("wx_public_templat")
public class WxPublicTemplat implements Serializable {
    private Integer id;
    @TableField("template_id")
    private String templateId;
    @TableField("template_name")
    private String templateName;
    /**
     *  0 未启用，1启用
     */

    private Integer status;
    /**
     *  关联 touser表的 id字段；用, 分割
     */
    @TableField("relation_touser_id")
    private String relationTouserId;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("create_time")
    private Date createTime;

    private Integer templateContentId;

    private String remark;


}
